| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | function getDepartmentDone(jqXHR) |
||
| 32 | function initPage() |
||
| 33 | { |
||
| 34 | $('#addShiftModal').modal({show: false}); |
||
| 35 | $.ajax({ |
||
| 36 | url: 'api/v1/departments?$filter=lead eq me', |
||
| 37 | type: 'GET', |
||
| 38 | dataType: 'json', |
||
| 39 | complete: getDepartmentDone}); |
||
| 40 | if(!browser_supports_input_type('datetime-local')) |
||
| 41 | { |
||
| 42 | $.getScript('/js/common/js-webshim/minified/polyfiller.js', polyfillerLoaded); |
||
| 43 | } |
||
| 44 | } |
||
| 45 | |||
| 47 |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.